package com.example.demo1.itlianxi04;

public class StudentDemo {
    public StudentDemo() {
    }

    public static void main(String[] args) {
        Student s1 = new Student();
        s1.setName("张靖宇");
        s1.setAge(30);
        s1.show();
        Student s2 = new Student("张靖宇", 30);
        s2.show();
    }
}
